package com.wqr.dao;

import com.wqr.pojo.Store;
import com.wqr.pojo.StoreExample;

import java.sql.SQLException;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StoreDao {
    int countByExample(StoreExample example);

    int deleteByExample(StoreExample example);

    int deleteByPrimaryKey(Integer storeId);

    int insert(Store record);

    int insertSelective(Store record) throws SQLException ;

    List<Store> selectByExample(StoreExample example);
    
    List<Store> selectByDIY(Store example);
    
    List<Store> selectByWhere(Store record);
    
    Store selectByPrimaryKey(Integer storeId);

    int updateByExampleSelective(@Param("record") Store record, @Param("example") StoreExample example);

    int updateByExample(@Param("record") Store record, @Param("example") StoreExample example);

    int updateByPrimaryKeySelective(Store record);

    int updateByPrimaryKey(Store record);
}